//
//  HomeTiShiSubCell.m
//  CenturyCity
//
//  Created by beisheng03 on 2018/1/19.
//  Copyright © 2018年 beisheng. All rights reserved.
//

#import "HomeTiShiSubCell.h"

@interface HomeTiShiSubCell ()
@property (weak, nonatomic) IBOutlet UIImageView *leftImageView;

@property (weak, nonatomic) IBOutlet UILabel *rightLabel;
@end

@implementation HomeTiShiSubCell

- (void)awakeFromNib {
    [super awakeFromNib];
    
    self.contentView.backgroundColor = viewBgGrey;
    
    self.rightLabel.font = MYFONT(14);
    // Initialization code
}

- (void)setModel:(HomeSubModel *)model{
    _model =  model;
    
    [self.leftImageView sd_setImageWithURL:[NSURL URLWithString:_model.image] placeholderImage:nil];
    
    self.rightLabel.text = _model.title;
    
    
    
}

@end
